package com.huike.service;

import com.github.pagehelper.PageInfo;
import com.huike.entity.Employee;
import com.huike.query.EmployeeQuery;
import com.huike.query.LoginQuery;

import java.util.List;

public interface EmployeeService {
    Employee login(LoginQuery lq);

    PageInfo<Employee> getPage(EmployeeQuery eq);

    void saveOrUpdate(Employee employee,Long[] roleIds);

    Employee getEmpById(Integer id);

    int deleteById(Long id);

}
